<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: g2o::MatrixStructure Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classg2o_1_1_matrix_structure.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classg2o_1_1_matrix_structure-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">g2o::MatrixStructure Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>representing the structure of a matrix in column compressed structure (only the upper triangular part of the matrix)  
 <a href="classg2o_1_1_matrix_structure.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="matrix__structure_8h_source.html">matrix_structure.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeda2f4fd97499545773af331cd2c10f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#aeda2f4fd97499545773af331cd2c10f2">alloc</a> (int n_, int nz)</td></tr>
<tr class="memdesc:aeda2f4fd97499545773af331cd2c10f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">allocate space for the Matrix Structure.  <a href="#aeda2f4fd97499545773af331cd2c10f2">More...</a><br /></td></tr>
<tr class="separator:aeda2f4fd97499545773af331cd2c10f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bc9281fa8ae82dab908506fe0819498"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a4bc9281fa8ae82dab908506fe0819498">free</a> ()</td></tr>
<tr class="separator:a4bc9281fa8ae82dab908506fe0819498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa016529c47ff242c5547301041360b5e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#aa016529c47ff242c5547301041360b5e">MatrixStructure</a> ()</td></tr>
<tr class="separator:aa016529c47ff242c5547301041360b5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae44849701c44a9327ec5ff736d5eb54b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#ae44849701c44a9327ec5ff736d5eb54b">nzMax</a> () const</td></tr>
<tr class="memdesc:ae44849701c44a9327ec5ff736d5eb54b"><td class="mdescLeft">&#160;</td><td class="mdescRight">max number of non-zeros blocks  <a href="#ae44849701c44a9327ec5ff736d5eb54b">More...</a><br /></td></tr>
<tr class="separator:ae44849701c44a9327ec5ff736d5eb54b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f96bf6fbe278620b5507fb5b18cfdd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a10f96bf6fbe278620b5507fb5b18cfdd">write</a> (const char *filename) const</td></tr>
<tr class="memdesc:a10f96bf6fbe278620b5507fb5b18cfdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the matrix pattern to a file.  <a href="#a10f96bf6fbe278620b5507fb5b18cfdd">More...</a><br /></td></tr>
<tr class="separator:a10f96bf6fbe278620b5507fb5b18cfdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64d784cf6c4415145e012368ec4d42c1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a64d784cf6c4415145e012368ec4d42c1">~MatrixStructure</a> ()</td></tr>
<tr class="separator:a64d784cf6c4415145e012368ec4d42c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a7984bf429b8694070ab8db5f5852d8bb"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a7984bf429b8694070ab8db5f5852d8bb">Aii</a></td></tr>
<tr class="memdesc:a7984bf429b8694070ab8db5f5852d8bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">row indices of A, of size nz = Ap [n]  <a href="#a7984bf429b8694070ab8db5f5852d8bb">More...</a><br /></td></tr>
<tr class="separator:a7984bf429b8694070ab8db5f5852d8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeff8e78fb766a433aecbfda4a2e3ffc"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#aeeff8e78fb766a433aecbfda4a2e3ffc">Ap</a></td></tr>
<tr class="memdesc:aeeff8e78fb766a433aecbfda4a2e3ffc"><td class="mdescLeft">&#160;</td><td class="mdescRight">column pointers for A, of size n+1  <a href="#aeeff8e78fb766a433aecbfda4a2e3ffc">More...</a><br /></td></tr>
<tr class="separator:aeeff8e78fb766a433aecbfda4a2e3ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cceed2097dcbaa27ed88b7005440616"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a9cceed2097dcbaa27ed88b7005440616">m</a></td></tr>
<tr class="memdesc:a9cceed2097dcbaa27ed88b7005440616"><td class="mdescLeft">&#160;</td><td class="mdescRight">A is m-by-n. m must be &gt;= 0.  <a href="#a9cceed2097dcbaa27ed88b7005440616">More...</a><br /></td></tr>
<tr class="separator:a9cceed2097dcbaa27ed88b7005440616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa91f296406c17ab3a826d03bf75cfea7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#aa91f296406c17ab3a826d03bf75cfea7">n</a></td></tr>
<tr class="memdesc:aa91f296406c17ab3a826d03bf75cfea7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A is m-by-n. n must be &gt;= 0.  <a href="#aa91f296406c17ab3a826d03bf75cfea7">More...</a><br /></td></tr>
<tr class="separator:aa91f296406c17ab3a826d03bf75cfea7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a098e58ed3d37bf957307a64f7dc55f32"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a098e58ed3d37bf957307a64f7dc55f32">maxN</a></td></tr>
<tr class="memdesc:a098e58ed3d37bf957307a64f7dc55f32"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of the allocated memory  <a href="#a098e58ed3d37bf957307a64f7dc55f32">More...</a><br /></td></tr>
<tr class="separator:a098e58ed3d37bf957307a64f7dc55f32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a049708086bd4123721351d0580ce5ba1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_matrix_structure.html#a049708086bd4123721351d0580ce5ba1">maxNz</a></td></tr>
<tr class="memdesc:a049708086bd4123721351d0580ce5ba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of the allocated memory  <a href="#a049708086bd4123721351d0580ce5ba1">More...</a><br /></td></tr>
<tr class="separator:a049708086bd4123721351d0580ce5ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>representing the structure of a matrix in column compressed structure (only the upper triangular part of the matrix) </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa016529c47ff242c5547301041360b5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g2o::MatrixStructure::MatrixStructure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a64d784cf6c4415145e012368ec4d42c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g2o::MatrixStructure::~MatrixStructure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aeda2f4fd97499545773af331cd2c10f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::MatrixStructure::alloc </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>allocate space for the Matrix Structure. </p>
<p>You may call this on an already allocated struct, it will then reallocate the memory + additional space (double the required space). </p>

</div>
</div>
<a id="a4bc9281fa8ae82dab908506fe0819498"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::MatrixStructure::free </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae44849701c44a9327ec5ff736d5eb54b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int g2o::MatrixStructure::nzMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>max number of non-zeros blocks </p>

</div>
</div>
<a id="a10f96bf6fbe278620b5507fb5b18cfdd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::MatrixStructure::write </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write the matrix pattern to a file. </p>
<p>File is also loadable by octave, e.g., then use spy(matrix) </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a7984bf429b8694070ab8db5f5852d8bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* g2o::MatrixStructure::Aii</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>row indices of A, of size nz = Ap [n] </p>

</div>
</div>
<a id="aeeff8e78fb766a433aecbfda4a2e3ffc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* g2o::MatrixStructure::Ap</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>column pointers for A, of size n+1 </p>

</div>
</div>
<a id="a9cceed2097dcbaa27ed88b7005440616"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int g2o::MatrixStructure::m</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A is m-by-n. m must be &gt;= 0. </p>

</div>
</div>
<a id="a098e58ed3d37bf957307a64f7dc55f32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int g2o::MatrixStructure::maxN</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>size of the allocated memory </p>

</div>
</div>
<a id="a049708086bd4123721351d0580ce5ba1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int g2o::MatrixStructure::maxNz</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>size of the allocated memory </p>

</div>
</div>
<a id="aa91f296406c17ab3a826d03bf75cfea7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int g2o::MatrixStructure::n</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A is m-by-n. n must be &gt;= 0. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="matrix__structure_8h_source.html">matrix_structure.h</a></li>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="matrix__structure_8cpp.html">matrix_structure.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceg2o.html">g2o</a></li><li class="navelem"><a class="el" href="classg2o_1_1_matrix_structure.html">MatrixStructure</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
